+Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c
+ (gtk_text_layout_move_iter_to_previous_line): Fix unitialized
+ variable when moving back onto a single line.
+
2001-01-01 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
+Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c
+ (gtk_text_layout_move_iter_to_previous_line): Fix unitialized
+ variable when moving back onto a single line.
+
2001-01-01 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
+Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c
+ (gtk_text_layout_move_iter_to_previous_line): Fix unitialized
+ variable when moving back onto a single line.
+
2001-01-01 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
+Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c
+ (gtk_text_layout_move_iter_to_previous_line): Fix unitialized
+ variable when moving back onto a single line.
+
2001-01-01 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
+Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c
+ (gtk_text_layout_move_iter_to_previous_line): Fix unitialized
+ variable when moving back onto a single line.
+
2001-01-01 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
+Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c
+ (gtk_text_layout_move_iter_to_previous_line): Fix unitialized
+ variable when moving back onto a single line.
+
2001-01-01 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
+Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c
+ (gtk_text_layout_move_iter_to_previous_line): Fix unitialized
+ variable when moving back onto a single line.
+
2001-01-01 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
{
gtk_text_layout_free_line_display (layout, display);
display = gtk_text_layout_get_line_display (layout, prev_line, FALSE);
-
- tmp_list = pango_layout_get_lines (display->layout);
-
- while (tmp_list->next)
- {
- layout_line = tmp_list->data;
- tmp_list = tmp_list->next;
- }
+ tmp_list = g_slist_last (pango_layout_get_lines (display->layout));
+ layout_line = tmp_list->data;
line_display_index_to_iter (layout, display, iter,
layout_line->start_index + layout_line->length, 0);